package com.base.mapper.voipmapper;

import com.base.po.sqlparam.CommoditiesExamplePage;
import com.base.po.voip.Commodities;
import com.base.po.voip.CommoditiesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommoditiesMapper {
    int countByExample(CommoditiesExample example);

    int deleteByExample(CommoditiesExample example);

    int deleteByPrimaryKey(String id);

    int insert(Commodities record);

    int insertSelective(Commodities record);

    List<Commodities> selectByExample(CommoditiesExample example);
    
    List<Commodities> selectByExamplePage(CommoditiesExamplePage example);

    Commodities selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Commodities record, @Param("example") CommoditiesExample example);

    int updateByExample(@Param("record") Commodities record, @Param("example") CommoditiesExample example);

    int updateByPrimaryKeySelective(Commodities record);

    int updateByPrimaryKey(Commodities record);
}